{{ $url := printf "https://github.com/vectordotdev/vector/edit/master/website/content/%s/%s" .Lang .File }}
<section class="section">
  <div class="container">
    <div class="my-4 has-text-right">
      <a class="button is-small is-black is-inverted is-rounded" rel="noopener" target="_blank" href="{{ $url }}">
        <span class="icon">
          <i class="fab fa-github"></i>
        </span>
        <span>
          Edit this page
        </span>
      </a>
    </div>
  </div>
</section>